package com.trxy.hotelsystem.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.trxy.hotelsystem.dao.department_managerMapper;
import com.trxy.hotelsystem.model.department_manager;
import com.trxy.hotelsystem.service.Department_managerService;

@Service
public class Department_managerServiceImpl implements Department_managerService{
	
	@Autowired
	private department_managerMapper Department_managerMapper;

	@Override
	public int deleteByPrimaryKey(String id) {
		// TODO Auto-generated method stub
		return Department_managerMapper.deleteByPrimaryKey(id);
	}

	@Override
	public int insert(department_manager record) {
		// TODO Auto-generated method stub
		return Department_managerMapper.insert(record);
	}

	@Override
	public int insertSelective(department_manager record) {
		// TODO Auto-generated method stub
		return Department_managerMapper.insertSelective(record);
	}

	@Override
	public department_manager selectByPrimaryKey(String id) {
		// TODO Auto-generated method stub
		return Department_managerMapper.selectByPrimaryKey(id);
	}

	@Override
	public int updateByPrimaryKeySelective(department_manager record) {
		// TODO Auto-generated method stub
		return Department_managerMapper.updateByPrimaryKeySelective(record);
	}

	@Override
	public int updateByPrimaryKey(department_manager record) {
		// TODO Auto-generated method stub
		return Department_managerMapper.updateByPrimaryKey(record);
	}

	@Override
	public department_manager selectBydepartment(String department) {
		// TODO Auto-generated method stub
		return Department_managerMapper.selectBydepartment(department);
	}

	@Override
	public List<department_manager> selectdepartment_managerAll() {
		// TODO Auto-generated method stub
		return Department_managerMapper.selectdepartment_managerAll();
	}

}
